package example;

import javax.swing.*;
import java.awt.*;

/**
 * 真实主题：红花特产
 *
 * @author zhang he qiang
 */
public class WySpecialty extends JFrame implements Specialty {
    private static final long serialVersionUID = 1L;

    public WySpecialty() {
        super("西华代理红花特产测试");
        this.setLayout(new GridLayout(1, 1));
        JLabel l1 = new JLabel(new ImageIcon("6-Proxy/src/xihua.jpg"));
        this.add(l1);
        this.pack();
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    public void display() {
        this.setVisible(true);
    }

}
